package com.wnhz.work.yz.bean;

import com.wnhz.work.yz.base.BaseBean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by admin on 2017/3/30.
 */
public class LookDetailsBean extends BaseBean implements Serializable {


    /**
     * result : 1
     * info : {"price":"26600.00","oprice":"17488","cate_info":[{"cate_id":"14","cate_name":"天花板","count":"1","data":[{"is_old":"1","goods_id":"465","goods_name":"SMC顶盖总成-BUL1020","goods_brand":"优住","goods_pic":"http://www.uhousing.cn/Uploads/Picture/uploads/20170308/58bf6bc32a573.jpg","goods_price":"688.00","goods_nums":"1","goods_unit":"套","sku_id":"2415","sku_info":"类型:拱顶,\t管井:不带管井,开门方向:AL-长边中开门,颜色:皮纹白色"}]},{"cate_id":"15","cate_name":"墙壁","count":"1","data":[{"is_old":"1","goods_id":"449","goods_name":"SMC墙板总成-BUL1420","goods_brand":"优住","goods_pic":"http://www.uhousing.cn/Uploads/Picture/uploads/20170308/58bf50c1827d7.jpg","goods_price":"4200.00","goods_nums":"4","goods_unit":"套","sku_id":"4277","sku_info":"高度:H=2000mm,开门方向:AL-长边左开门,管井:带管井,颜色:2480-樱桃木+拼块白色"}]}],"package_id":"606","cad_pic":"http://www.uhousing.cn/Uploads/Picture/uploads/20170113/58786954b829a.jpg","total_price":"17488"}
     */

    private String result;

    @Override
    public String toString() {
        return "LookDetailsBean{" +
                "result='" + result + '\'' +
                ", info=" + info +
                '}';
    }

    /**
     * price : 26600.00
     * oprice : 17488
     * cate_info : [{"cate_id":"14","cate_name":"天花板","count":"1","data":[{"is_old":"1","goods_id":"465","goods_name":"SMC顶盖总成-BUL1020","goods_brand":"优住","goods_pic":"http://www.uhousing.cn/Uploads/Picture/uploads/20170308/58bf6bc32a573.jpg","goods_price":"688.00","goods_nums":"1","goods_unit":"套","sku_id":"2415","sku_info":"类型:拱顶,\t管井:不带管井,开门方向:AL-长边中开门,颜色:皮纹白色"}]},{"cate_id":"15","cate_name":"墙壁","count":"1","data":[{"is_old":"1","goods_id":"449","goods_name":"SMC墙板总成-BUL1420","goods_brand":"优住","goods_pic":"http://www.uhousing.cn/Uploads/Picture/uploads/20170308/58bf50c1827d7.jpg","goods_price":"4200.00","goods_nums":"4","goods_unit":"套","sku_id":"4277","sku_info":"高度:H=2000mm,开门方向:AL-长边左开门,管井:带管井,颜色:2480-樱桃木+拼块白色"}]}]
     * package_id : 606
     * cad_pic : http://www.uhousing.cn/Uploads/Picture/uploads/20170113/58786954b829a.jpg
     * total_price : 17488
     */

    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity extends BaseBean {
        private String price;
        private String oprice;
        private String package_id;
        private String cad_pic;
        private String total_price;
        private String can_buy;

        @Override
        public String toString() {
            return "InfoEntity{" +
                    "price='" + price + '\'' +
                    ", oprice='" + oprice + '\'' +
                    ", package_id='" + package_id + '\'' +
                    ", cad_pic='" + cad_pic + '\'' +
                    ", total_price='" + total_price + '\'' +
                    ", cate_info=" + cate_info +
                    ", can_buy=" + can_buy +
                    '}';
        }

        /**
         * cate_id : 14
         * cate_name : 天花板
         * count : 1
         * data : [{"is_old":"1","goods_id":"465","goods_name":"SMC顶盖总成-BUL1020","goods_brand":"优住","goods_pic":"http://www.uhousing.cn/Uploads/Picture/uploads/20170308/58bf6bc32a573.jpg","goods_price":"688.00","goods_nums":"1","goods_unit":"套","sku_id":"2415","sku_info":"类型:拱顶,\t管井:不带管井,开门方向:AL-长边中开门,颜色:皮纹白色"}]
         */

        private List<CateInfoEntity> cate_info;

        public void setPrice(String price) {
            this.price = price;
        }

        public void setOprice(String oprice) {
            this.oprice = oprice;
        }

        public void setPackage_id(String package_id) {
            this.package_id = package_id;
        }

        public void setCad_pic(String cad_pic) {
            this.cad_pic = cad_pic;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public void setCate_info(List<CateInfoEntity> cate_info) {
            this.cate_info = cate_info;
        }

        public String getCan_buy() {
            return can_buy;
        }

        public void setCan_buy(String can_buy) {
            this.can_buy = can_buy;
        }

        public String getPrice() {
            return price;
        }

        public String getOprice() {
            return oprice;
        }

        public String getPackage_id() {
            return package_id;
        }

        public String getCad_pic() {
            return cad_pic;
        }

        public String getTotal_price() {
            return total_price;
        }

        public List<CateInfoEntity> getCate_info() {
            return cate_info;
        }

        public static class CateInfoEntity extends BaseBean {
            private String cate_id;
            private String cate_name;
            private String count;
            private List<String> other;

            @Override
            public String toString() {
                return "CateInfoEntity{" +
                        "cate_id='" + cate_id + '\'' +
                        ", cate_name='" + cate_name + '\'' +
                        ", count='" + count + '\'' +
                        ", data=" + data +
                        '}';
            }

            /**
             * is_old : 1
             * goods_id : 465
             * goods_name : SMC顶盖总成-BUL1020
             * goods_brand : 优住
             * goods_pic : http://www.uhousing.cn/Uploads/Picture/uploads/20170308/58bf6bc32a573.jpg
             * goods_price : 688.00
             * goods_nums : 1
             * goods_unit : 套
             * sku_id : 2415
             * sku_info : 类型:拱顶,	管井:不带管井,开门方向:AL-长边中开门,颜色:皮纹白色
             */

            private List<DataEntity> data;

            public void setCate_id(String cate_id) {
                this.cate_id = cate_id;
            }

            public void setCate_name(String cate_name) {
                this.cate_name = cate_name;
            }

            public void setCount(String count) {
                this.count = count;
            }

            public void setData(List<DataEntity> data) {
                this.data = data;
            }

            public String getCate_id() {
                return cate_id;
            }

            public String getCate_name() {
                return cate_name;
            }

            public String getCount() {
                return count;
            }

            public List<DataEntity> getData() {
                return data;
            }

            public List<String> getOther() {
                return other;
            }

            public void setOther(List<String> other) {
                this.other = other;
            }

            public static class DataEntity extends BaseBean {
                private String is_old;
                private String goods_id;
                private String goods_name;
                private String goods_brand;
                private String goods_pic;
                private String goods_price;
                private String goods_nums;
                private String goods_unit;
                private String sku_id;
                private String sku_info;
                private boolean isSelect;
                private List<String> other;


                @Override
                public String toString() {
                    return "DataEntity{" +
                            "is_old='" + is_old + '\'' +
                            ", goods_id='" + goods_id + '\'' +
                            ", goods_name='" + goods_name + '\'' +
                            ", goods_brand='" + goods_brand + '\'' +
                            ", goods_pic='" + goods_pic + '\'' +
                            ", goods_price='" + goods_price + '\'' +
                            ", goods_nums='" + goods_nums + '\'' +
                            ", goods_unit='" + goods_unit + '\'' +
                            ", sku_id='" + sku_id + '\'' +
                            ", sku_info='" + sku_info + '\'' +
                            ", isSelect=" + isSelect +
                            '}';
                }

                public boolean isSelect() {
                    return isSelect;
                }

                public void setSelect(boolean select) {
                    isSelect = select;
                }

                public void setIs_old(String is_old) {
                    this.is_old = is_old;
                }

                public void setGoods_id(String goods_id) {
                    this.goods_id = goods_id;
                }

                public void setGoods_name(String goods_name) {
                    this.goods_name = goods_name;
                }

                public void setGoods_brand(String goods_brand) {
                    this.goods_brand = goods_brand;
                }

                public void setGoods_pic(String goods_pic) {
                    this.goods_pic = goods_pic;
                }

                public void setGoods_price(String goods_price) {
                    this.goods_price = goods_price;
                }

                public void setGoods_nums(String goods_nums) {
                    this.goods_nums = goods_nums;
                }

                public void setGoods_unit(String goods_unit) {
                    this.goods_unit = goods_unit;
                }

                public void setSku_id(String sku_id) {
                    this.sku_id = sku_id;
                }

                public void setSku_info(String sku_info) {
                    this.sku_info = sku_info;
                }

                public String getIs_old() {
                    return is_old;
                }

                public String getGoods_id() {
                    return goods_id;
                }

                public String getGoods_name() {
                    return goods_name;
                }

                public String getGoods_brand() {
                    return goods_brand;
                }

                public String getGoods_pic() {
                    return goods_pic;
                }

                public String getGoods_price() {
                    return goods_price;
                }

                public String getGoods_nums() {
                    return goods_nums;
                }

                public String getGoods_unit() {
                    return goods_unit;
                }

                public String getSku_id() {
                    return sku_id;
                }

                public String getSku_info() {
                    return sku_info;
                }


                public List<String> getOther() {
                    return other;
                }

                public void setOther(List<String> other) {
                    this.other = other;
                }
            }
        }
    }
}
